package com.hahaduo.bee.dao.jpa.entity;

import javax.persistence.Entity;

/**
 * @author noodles.wumu@gmail.com
 * @since 2013/05/30 16:09:18
 * @version 0.1
 */
@Entity
public class AccountType extends BaseEntity {
	
	private String name;

	private String label1;

	private String label2;

	private Long parentId;
	
	public AccountType() {
	}

	/**
	 * @param name
	 * @param label1
	 * @param label2
	 * @param parentId
	 */
	public AccountType(String name, String label1, String label2, Long parentId) {
		this.name = name;
		this.label1 = label1;
		this.label2 = label2;
		this.parentId = parentId;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the label1
	 */
	public String getLabel1() {
		return label1;
	}

	/**
	 * @param label1 the label1 to set
	 */
	public void setLabel1(String label1) {
		this.label1 = label1;
	}

	/**
	 * @return the label2
	 */
	public String getLabel2() {
		return label2;
	}

	/**
	 * @param label2 the label2 to set
	 */
	public void setLabel2(String label2) {
		this.label2 = label2;
	}

	/**
	 * @return the parentId
	 */
	public Long getParentId() {
		return parentId;
	}

	/**
	 * @param parentId the parentId to set
	 */
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}
}
